package com.sudo.service.admin.service;


import com.sudo.dao.admin.entity.SysInfo;
import com.sudo.dao.admin.model.vo.SysMemCpuVO;

import java.util.List;
import java.util.Map;

/**
 * @author 为道日损 2020-07-07 11:11
 * webSite：https://www.sudo.ren
 */
public interface SysInfoService {

    List<SysInfo> getSysInfoByServer(String serverNode);

    int deleteSysInfoByServer(String serverNode);

    int insertSysInfoByBatch(String serverNode, Map<String, Object> map);

    void insertMemCpuToRedis(String server, SysMemCpuVO sysMemCpuVO);

    List<SysInfo> getSysInfoByCode(String... code);
}
